from django.shortcuts import render

# Create your views here.
from django.http import HttpResponse
from .models import *


def index(request):
    device_list = DeviceInfo.objects.all()
    for i in device_list:
        print(i)
    context = {
        'data_list': device_list
    }

    return render(request, "assets_manage/assets_manage.html", context=context)
